#include <CommandDeselectAll.h>
Inheritance diagram for CommandDeselectAll:

Public Member Functions | |
| CommandDeselectAll (OSGWindows *osgwind) | |
| bool | execute () |
| bool | unexecute () |
| void | changeState () |
| void | changeStateReverse () |
Private Attributes | |
| OSGWindows * | osgwind_ |
| osg::StateSet * | stateset |
Definition at line 7 of file CommandDeselectAll.h.
|
|
A constructor. Initializes osgwind_ variable.
Definition at line 2 of file CommandDeselectAll.cpp. |
|
|
highlight the objects in the deselectedObjs_ vector. Definition at line 43 of file CommandDeselectAll.cpp. References stateset. Referenced by unexecute(). |
|
|
un_highlight the objects in the deselectedObjs_ vector. Definition at line 52 of file CommandDeselectAll.cpp. References stateset. Referenced by execute(). |
|
|
do the deselectAll operation.
Implements Command. Definition at line 9 of file CommandDeselectAll.cpp. References changeStateReverse(), OSGWindows::getObjects(), osgwind_, and stateset. Referenced by OSGWindows::addCommandDeselectAll(). |
|
|
undo the deselectAll operation.
Implements Command. Definition at line 27 of file CommandDeselectAll.cpp. References changeState(), OSGWindows::getObjects(), osgwind_, OSGWindows::setSelectedObjects(), and stateset. |
|
|
a private variable. It is initialized with the unique OSGWindows instance. Definition at line 15 of file CommandDeselectAll.h. Referenced by CommandDeselectAll(), execute(), and unexecute(). |
|
|
a private osg::StateSet pointer. It holds state of the selected/deselected objects. Definition at line 21 of file CommandDeselectAll.h. Referenced by changeState(), changeStateReverse(), execute(), and unexecute(). |
1.4.6-NO